package com.qf.sb3.service.impl;

import com.qf.sb3.entity.Attractions;
import com.qf.sb3.entity.Category;
import com.qf.sb3.mapper.AttractionsMapper;
import com.qf.sb3.mapper.CategoryMapper;
import com.qf.sb3.service.AttractionsService;
import com.qf.sb3.service.CategoryService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CategoryServiceImpl implements CategoryService {
    @Resource
    private CategoryMapper categoryMapper;


    @Override
    public List<Category> QueryAll() {
        return categoryMapper.selectList(null);
    }
}
